package aynu.hd.Hotel.Service;

import aynu.hd.pojo.Orders;
import aynu.hd.pojo.Schedule;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface orderService {
    //付款生成订单
    String addOrder(Orders orders, String num, String room_id, String schedule_id, HttpSession session);

    //支付成功操作
    void paySuccess(String order_id, HttpSession session);

    //未支付订单信息
    List<Schedule> queryOrderByUser(HttpSession session);

    //已支付订单信息
    List<Schedule> queryOrderByUser1(HttpSession session);
}
